import { world } from "@minecraft/server";
import { MinecraftDimensionTypes } from "@minecraft/vanilla-data";
import { deferredRegister } from "../deferred_register/deferred_register";

export let OVERWORLD = deferredRegister.register(() =>
  world.getDimension(MinecraftDimensionTypes.Overworld)
);
export let THE_END = deferredRegister.register(() =>
  world.getDimension(MinecraftDimensionTypes.TheEnd)
);
export let NETHER = deferredRegister.register(() =>
  world.getDimension(MinecraftDimensionTypes.Nether)
);
